Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Collection<T> Class / Item Property


In This Topic
    Item Property (Collection<T>)
    In This Topic
    Gets or sets the element at the specified index.
    Syntax
    'Declaration
     
    
    Public Overridable ReadOnly Default Property Item( _
       ByVal index As Integer _
    ) As T
    'Usage
     
    
    Dim instance As Collection(Of T)
    Dim index As Integer
    Dim value As T
     
    value = instance.Item(index)
    public virtual T this[ 
       int index
    ]; {get;}

    Parameters

    index

    Property Value

    The element at the specified index.
    See Also